package com.ruoyi.task.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网点摄像头配置对象 equipment_config
 * 
 * @author ruoyi
 * @date 2025-04-22
 */
public class EquipmentConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 网点摄像头服务器 */
    private Long equipmentId;

    /** 分行机构号 */
    @Excel(name = "分行机构号")
    private String subBankCode;


    public String getSubBankName() {
        return subBankName;
    }

    public void setSubBankName(String subBankName) {
        this.subBankName = subBankName;
    }

    @Excel(name = "分行机构名称")
    private String subBankName;

    /** 网点机构id */
    @Excel(name = "网点机构id")
    private Long deptId;

    /** 网点机构号 */
    @Excel(name = "网点机构号")
    private String bankCode;

    /** 网点机构名称 */
    @Excel(name = "网点机构名称")
    private String bankName;

    /** 设备ip */
    @Excel(name = "设备ip")
    private String equipmentIp;

    /** 设备端口 */
    @Excel(name = "设备端口")
    private String equipmentPort;

    /** 设备用户 */
    @Excel(name = "设备用户")
    private String equipmentUser;

    /** 设备密码 */
    @Excel(name = "设备密码")
    private String equipmentPwd;

    /** 设备类型(001-大华) */
    @Excel(name = "设备类型(001-大华)", dictType= "equipment_type")
    private String equipmentType;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public String getCameraInfo() {
        return cameraInfo;
    }

    public void setCameraInfo(String cameraInfo) {
        this.cameraInfo = cameraInfo;
    }

    @Excel(name = "摄像头信息汇总")
    private String cameraInfo;

    public void setEquipmentId(Long equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId() 
    {
        return equipmentId;
    }

    public void setSubBankCode(String subBankCode) 
    {
        this.subBankCode = subBankCode;
    }

    public String getSubBankCode() 
    {
        return subBankCode;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setBankCode(String bankCode) 
    {
        this.bankCode = bankCode;
    }

    public String getBankCode() 
    {
        return bankCode;
    }

    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }

    public void setEquipmentIp(String equipmentIp) 
    {
        this.equipmentIp = equipmentIp;
    }

    public String getEquipmentIp() 
    {
        return equipmentIp;
    }

    public void setEquipmentPort(String equipmentPort) 
    {
        this.equipmentPort = equipmentPort;
    }

    public String getEquipmentPort() 
    {
        return equipmentPort;
    }

    public void setEquipmentUser(String equipmentUser) 
    {
        this.equipmentUser = equipmentUser;
    }

    public String getEquipmentUser() 
    {
        return equipmentUser;
    }

    public void setEquipmentPwd(String equipmentPwd) 
    {
        this.equipmentPwd = equipmentPwd;
    }

    public String getEquipmentPwd() 
    {
        return equipmentPwd;
    }

    public void setEquipmentType(String equipmentType) 
    {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentType() 
    {
        return equipmentType;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("equipmentId", getEquipmentId())
            .append("subBankCode", getSubBankCode())
            .append("deptId", getDeptId())
            .append("bankCode", getBankCode())
            .append("bankName", getBankName())
            .append("equipmentIp", getEquipmentIp())
            .append("equipmentPort", getEquipmentPort())
            .append("equipmentUser", getEquipmentUser())
            .append("equipmentPwd", getEquipmentPwd())
            .append("equipmentType", getEquipmentType())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
